package com.xjtu.platform.mainAction;

import com.xjtu.platform.common.PageParam;
import com.xjtu.platform.mainAction.dto.CreateDto;
import com.xjtu.platform.mainAction.dto.UpdateDto;

import java.util.Map;

public interface MainService {
    void createArticle(CreateDto createDto);

    Map<String, Object> getAllArticle(PageParam pageParam);

    void updateArticle(UpdateDto updateDto);
}
